package com.wgy.designmode.structure.bridge.shape;

import com.wgy.designmode.structure.bridge.draw.DrawingApi;

public class Circle extends Shape {

    private int x, y, radius;

    public Circle(DrawingApi drawingApi, int x, int y, int radius){
        super(drawingApi);
        this.x = x;
        this.y = y;
        this.radius = radius;
    }

    @Override
    public void draw() {
        drawingApi.drawCircle(x, y, radius);
    }
}

